home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11250 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 72 65 | 64 2e 77 65 65 67 2e 75 |Path: re|d.weeg.u|
|00000010| 69 6f 77 61 2e 65 64 75 | 21 72 6f 62 69 6e 73 6f |iowa.edu|!robinso|
|00000020| 6e 0a 46 72 6f 6d 3a 20 | 54 68 65 20 41 6d 6f 72 |n.From: |The Amor|
|00000030| 70 68 6f 75 73 20 4d 61 | 73 73 20 3c 72 6f 62 69 |phous Ma|ss <robi|
|00000040| 6e 73 6f 6e 40 62 6c 75 | 65 2e 77 65 65 67 2e 75 |nson@blu|e.weeg.u|
|00000050| 69 6f 77 61 2e 65 64 75 | 3e 0a 4e 65 77 73 67 72 |iowa.edu|>.Newsgr|
|00000060| 6f 75 70 73 3a 20 63 6f | 6d 70 2e 6c 61 6e 67 2e |oups: co|mp.lang.|
|00000070| 63 0a 53 75 62 6a 65 63 | 74 3a 20 52 45 3a 20 48 |c.Subjec|t: RE: H|
|00000080| 65 6c 70 20 77 69 74 68 | 20 43 20 44 61 74 65 2f |elp with| C Date/|
|00000090| 54 69 6d 65 20 43 61 6c | 63 0a 44 61 74 65 3a 20 |Time Cal|c.Date: |
|000000a0| 46 72 69 2c 20 32 32 20 | 4d 61 72 20 31 39 39 36 |Fri, 22 |Mar 1996|
|000000b0| 20 31 34 3a 31 31 3a 33 | 31 20 2d 30 36 30 30 0a | 14:11:3|1 -0600.|
|000000c0| 4f 72 67 61 6e 69 7a 61 | 74 69 6f 6e 3a 20 55 6e |Organiza|tion: Un|
|000000d0| 69 76 65 72 73 69 74 79 | 20 6f 66 20 49 6f 77 61 |iversity| of Iowa|
|000000e0| 2c 20 49 6f 77 61 20 43 | 69 74 79 2c 20 49 41 2c |, Iowa C|ity, IA,|
|000000f0| 20 55 53 41 0a 44 69 73 | 74 72 69 62 75 74 69 6f | USA.Dis|tributio|
|00000100| 6e 3a 20 77 6f 72 6c 64 | 0a 4d 65 73 73 61 67 65 |n: world|.Message|
|00000110| 2d 49 44 3a 20 3c 50 69 | 6e 65 2e 41 33 32 2e 33 |-ID: <Pi|ne.A32.3|
|00000120| 2e 39 31 2e 39 36 30 33 | 32 32 31 34 30 39 32 34 |.91.9603|22140924|
|00000130| 2e 32 33 33 34 37 47 2d | 31 30 30 30 30 30 40 72 |.23347G-|100000@r|
|00000140| 65 64 2e 77 65 65 67 2e | 75 69 6f 77 61 2e 65 64 |ed.weeg.|uiowa.ed|
|00000150| 75 3e 0a 52 65 66 65 72 | 65 6e 63 65 73 3a 20 3c |u>.Refer|ences: <|
|00000160| 34 69 72 6d 38 64 24 62 | 65 76 40 64 66 77 2d 69 |4irm8d$b|ev@dfw-i|
|00000170| 78 6e 65 77 73 35 2e 69 | 78 2e 6e 65 74 63 6f 6d |xnews5.i|x.netcom|
|00000180| 2e 63 6f 6d 3e 0a 4e 4e | 54 50 2d 50 6f 73 74 69 |.com>.NN|TP-Posti|
|00000190| 6e 67 2d 48 6f 73 74 3a | 20 72 65 64 2e 77 65 65 |ng-Host:| red.wee|
|000001a0| 67 2e 75 69 6f 77 61 2e | 65 64 75 0a 4d 69 6d 65 |g.uiowa.|edu.Mime|
|000001b0| 2d 56 65 72 73 69 6f 6e | 3a 20 31 2e 30 0a 43 6f |-Version|: 1.0.Co|
|000001c0| 6e 74 65 6e 74 2d 54 79 | 70 65 3a 20 54 45 58 54 |ntent-Ty|pe: TEXT|
|000001d0| 2f 50 4c 41 49 4e 3b 20 | 63 68 61 72 73 65 74 3d |/PLAIN; |charset=|
|000001e0| 55 53 2d 41 53 43 49 49 | 0a 58 2d 53 65 6e 64 65 |US-ASCII|.X-Sende|
|000001f0| 72 3a 20 72 6f 62 69 6e | 73 6f 6e 40 72 65 64 2e |r: robin|son@red.|
|00000200| 77 65 65 67 2e 75 69 6f | 77 61 2e 65 64 75 0a 49 |weeg.uio|wa.edu.I|
|00000210| 6e 2d 52 65 70 6c 79 2d | 54 6f 3a 20 3c 34 69 72 |n-Reply-|To: <4ir|
|00000220| 6d 38 64 24 62 65 76 40 | 64 66 77 2d 69 78 6e 65 |m8d$bev@|dfw-ixne|
|00000230| 77 73 35 2e 69 78 2e 6e | 65 74 63 6f 6d 2e 63 6f |ws5.ix.n|etcom.co|
|00000240| 6d 3e 20 0a 0a 4f 6e 20 | 32 31 20 4d 61 72 20 31 |m> ..On |21 Mar 1|
|00000250| 39 39 36 2c 20 4b 65 69 | 74 68 20 5a 61 77 69 6c |996, Kei|th Zawil|
|00000260| 61 20 77 72 6f 74 65 3a | 0a 0a 3e 20 48 69 2e 2e |a wrote:|..> Hi..|
|00000270| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 0a 3e 20 20 49 20 |........|...> I |
|00000280| 61 6d 20 61 20 72 65 6c | 61 74 69 76 65 6c 79 20 |am a rel|atively |
|00000290| 6e 6f 76 69 63 65 20 43 | 20 70 72 6f 67 72 61 6d |novice C| program|
|000002a0| 6d 65 72 20 28 74 6f 6f | 6b 20 61 6e 20 49 6e 74 |mer (too|k an Int|
|000002b0| 72 6f 20 63 6c 61 73 73 | 29 20 61 6e 64 20 49 0a |ro class|) and I.|
|000002c0| 3e 20 63 6f 75 6c 64 20 | 75 73 65 20 73 6f 6d 65 |> could |use some|
|000002d0| 20 68 65 6c 70 20 77 69 | 74 68 20 61 20 63 61 6c | help wi|th a cal|
|000002e0| 63 75 6c 61 74 69 6f 6e | 20 49 20 6e 65 65 64 20 |culation| I need |
|000002f0| 74 6f 20 70 65 72 66 6f | 72 6d 3a 0a 3e 20 0a 3e |to perfo|rm:.> .>|
|00000300| 20 20 49 20 68 61 76 65 | 20 74 68 65 20 74 6f 74 | I have| the tot|
|00000310| 61 6c 20 6e 75 6d 62 65 | 72 20 6f 66 20 73 65 63 |al numbe|r of sec|
|00000320| 6f 6e 64 73 20 74 68 61 | 74 20 68 61 76 65 20 65 |onds tha|t have e|
|00000330| 6c 61 70 73 65 64 20 73 | 69 6e 63 65 20 31 2f 31 |lapsed s|ince 1/1|
|00000340| 2f 37 30 2c 0a 3e 20 61 | 6e 64 20 6e 65 65 64 20 |/70,.> a|nd need |
|00000350| 74 6f 20 63 61 6c 63 75 | 6c 61 74 65 20 74 68 65 |to calcu|late the|
|00000360| 20 63 75 72 72 65 6e 74 | 20 64 61 74 65 2f 74 69 | current| date/ti|
|00000370| 6d 65 2e 20 20 49 73 20 | 74 68 65 72 65 20 61 20 |me. Is |there a |
|00000380| 66 75 6e 63 74 69 6f 6e | 0a 3e 20 77 69 74 68 69 |function|.> withi|
|00000390| 6e 20 43 20 74 68 61 74 | 20 77 69 6c 6c 20 68 65 |n C that| will he|
|000003a0| 6c 70 20 77 69 74 68 20 | 74 68 69 73 2c 20 6f 72 |lp with |this, or|
|000003b0| 20 73 6f 6d 65 74 68 69 | 6e 67 20 65 6c 73 65 20 | somethi|ng else |
|000003c0| 74 68 61 74 20 77 69 6c | 6c 20 6b 65 65 70 20 6d |that wil|l keep m|
|000003d0| 65 0a 3e 20 66 72 6f 6d | 20 61 74 74 65 6d 70 74 |e.> from| attempt|
|000003e0| 69 6e 67 20 74 6f 20 72 | 65 69 6e 76 65 6e 74 20 |ing to r|einvent |
|000003f0| 74 68 65 20 77 68 65 65 | 6c 3f 3f 20 20 57 68 61 |the whee|l?? Wha|
|00000400| 74 65 76 65 72 20 64 69 | 72 65 63 74 69 6f 6e 20 |tever di|rection |
|00000410| 61 6e 79 6f 6e 65 0a 3e | 20 63 6f 75 6c 64 20 70 |anyone.>| could p|
|00000420| 72 6f 76 69 64 65 20 77 | 6f 75 6c 64 20 62 65 20 |rovide w|ould be |
|00000430| 67 72 65 61 74 6c 79 20 | 61 70 70 72 65 63 69 61 |greatly |apprecia|
|00000440| 74 65 64 21 0a 0a 20 20 | 49 74 27 73 20 70 72 65 |ted!.. |It's pre|
|00000450| 74 74 79 20 73 69 6d 70 | 6c 65 2e 20 20 59 6f 75 |tty simp|le. You|
|00000460| 20 6f 6e 6c 79 20 6e 65 | 65 64 20 74 6f 20 6d 61 | only ne|ed to ma|
|00000470| 6b 65 20 74 68 72 65 65 | 20 64 69 76 69 73 69 6f |ke three| divisio|
|00000480| 6e 73 2c 20 74 68 65 20 | 66 69 72 73 74 20 0a 6f |ns, the |first .o|
|00000490| 6e 20 74 68 65 20 74 6f | 74 61 6c 20 6e 75 6d 62 |n the to|tal numb|
|000004a0| 65 72 20 6f 66 20 73 65 | 63 6f 6e 64 73 2c 20 61 |er of se|conds, a|
|000004b0| 6e 64 20 65 61 63 68 20 | 73 75 62 73 65 71 75 65 |nd each |subseque|
|000004c0| 6e 74 20 64 69 76 69 73 | 69 6f 6e 20 6f 6e 20 74 |nt divis|ion on t|
|000004d0| 68 65 20 0a 72 65 6d 61 | 69 6e 64 65 72 20 6f 66 |he .rema|inder of|
|000004e0| 20 74 68 65 20 6c 61 73 | 74 20 6f 6e 65 2e 20 20 | the las|t one. |
|000004f0| 49 27 6c 6c 20 6c 65 74 | 20 79 6f 75 20 66 69 67 |I'll let| you fig|
|00000500| 75 72 65 20 6f 75 74 20 | 77 68 61 74 20 74 68 65 |ure out |what the|
|00000510| 20 64 69 76 69 73 6f 72 | 73 20 0a 61 72 65 2e 20 | divisor|s .are. |
|00000520| 3a 2d 29 0a 0a 2f 2a 2a | 4a 61 6d 65 73 20 52 6f |:-)../**|James Ro|
|00000530| 62 69 6e 73 6f 6e 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |binson**|********|
|00000540| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 20 20 20 |********|***** |
|00000550| 20 20 20 20 20 20 20 20 | 20 0a 20 20 22 49 66 20 | | . "If |
|00000560| 61 20 66 61 74 61 6c 20 | 65 72 72 6f 72 20 6f 63 |a fatal |error oc|
|00000570| 63 75 72 73 2c 20 74 68 | 65 20 70 72 6f 67 72 61 |curs, th|e progra|
|00000580| 6d 20 73 68 6f 75 6c 64 | 20 6e 6f 74 20 62 65 20 |m should| not be |
|00000590| 61 6c 6c 6f 77 65 64 20 | 74 6f 20 63 6f 6e 74 69 |allowed |to conti|
|000005a0| 6e 75 65 2e 22 0a 20 2d | 2d 20 4f 72 61 63 6c 65 |nue.". -|- Oracle|
|000005b0| 20 50 72 6f 2a 43 20 55 | 73 65 72 27 73 20 47 75 | Pro*C U|ser's Gu|
|000005c0| 69 64 65 20 20 20 20 20 | 20 20 20 20 2a 2a 2a 2a |ide | ****|
|000005d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 6a 61 6d 65 73 2d 72 |********|*james-r|
|000005e0| 6f 62 69 6e 73 6f 6e 40 | 75 69 6f 77 61 2e 65 64 |obinson@|uiowa.ed|
|000005f0| 75 2a 2a 2f 0a 0a 0a 0a | 0a |u**/....|. |
+--------+-------------------------+-------------------------+--------+--------+